﻿namespace TCommunication.Model;
/// <summary>
/// Can接收信息
/// </summary>
public class CanReceivedInfo
{
    /// <summary>
    /// CanId
    /// </summary>
    public uint CanId { get; set; }

    /// <summary>
    /// 是否是拓展帧
    /// </summary>
    public bool IsEff { get; set; } = true;

    /// <summary>
    /// 是否是远程帧,默认false
    /// </summary>
    public bool IsRtr { get; set; } = false;

    /// <summary>
    /// 是否是错误帧,默认false
    /// </summary>
    public bool IsErr { get; set; } = false;

    /// <summary>
    /// 是否是CanFd
    /// </summary>
    public bool IsCanFd { get; set; } = false;
}